package me.kagami.myjvm.jvm.opcode;

import me.kagami.myjvm.jvm.Frame;
// see https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.iload
public class OpCode26iload0Handler implements OpCodeInterface{
    @Override
    public int getOpCode() {
        return 26;
    }
    // iload_0
    @Override
    public void handle(Frame frame) {
        frame.push(frame.getLocals()[0]);
    }
}
